package stud.aistar.mapper;

import org.apache.ibatis.annotations.Select;
import stud.aistar.entity.DoctorType;

import java.util.List;

/**
 * Created by Jcdz on 2019/9/28.
 */
public interface DoctorTypeMapper {

    @Select("select * from doctor_type")
    List<DoctorType> findAll();

    @Select("select * from doctor_type where doc_id=#{value}")
    DoctorType findBydocId(Integer doc_id);

}
